
Page({
  data: {
    path: '',
    type: '',
    id: ''
  },

  onLoad: function (options) {
    var url = options.url
    this.setData({
      path: url + '?form=wp'
    })
    console.log(this.data.path)

  },
  getMessage(e) {
    var data = e.detail.data[0]
  },
})